<!DOCTYPE html>
<style>
.button_center{
    display: inherit;
	margin: 0px auto;
}
.button_right{
    float: right;
    margin-right: 20px;
}
.imgContainer1{ 
    width: 180px;
    height: 180px;
    margin: 5px auto;
}
.imgContainer1 .imgBackground1{
    width: 180px;
    height: 180px;
    border: 1px dashed #999999;
    text-align: center;
    line-height: 158px;
    font-size: 100px;
    background-color: #eeeeee;
    color: #999999; 
    position: absolute;
}
.imgContainer1 .imgBackground2{
    width: 180px;
    height: 180px;
    position: absolute;
    margin: 1px;
}
.imgContainer1 .k-upload{
	opacity: 0;
}
.imgContainer1 .k-upload .k-dropzone{
	padding: 0px;
}
.imgContainer1 .k-upload .k-upload-button{
    width: 180px;
    height: 180px;
}
.title1{
	color: #caa359;
    font-size: 20px;	
}
.title2{
	font-size: 14px;	 
}
.imgContainer3{ 
    width:316px;
    height: 190px;
    margin: 10px 0;
}
.imgContainer3 .imgBackground1{
    width:316px;
    height: 135px;
    border: 1px dashed #999999;
    text-align: center;
    line-height: 134px;
    font-size: 100px;
    background-color: #eeeeee;
    color: #999999; 
    position: absolute;
}
.imgContainer3 .imgBackground2{
    width:316px;
    height: 135px;
    position: absolute;
}
.imgContainer3 .k-upload{
	opacity: 0;
}
.imgContainer3 .k-upload .k-dropzone{
	padding: 0px;
}
.imgContainer3 .k-upload .k-upload-button{
	width: 100%;
    height: 125px;  
}  
.bannerJump{
	display:block;
	padding:10px 0;
	text-align:center;
}
.widths{
	width:50%; 
}
 
</style>
<div ng-controller="albumManagementCtrl">
    <!-- 标题 -->
    
   	<section class="well">
    	<div class="fileAbout backstage">资讯管理</div>
    	<div class="idMessage" style="min-height: 535px;">
	   		<div class="greenLine">
	   			<div id="list1" class="oneList choose">资讯列表</div>
	   			<button id="list2_add" class="k-button k-state-default button_right " ng-click="add(2)">新建文章</button>
	   		</div>
	   		
	   		<!-- 文章列表 -->
	   		<div id="container2">
	   			<div kendo-grid="grid2"  k-options="mainGridOptions2"></div>
	   		</div>
    </section>
    
    
 
    
    <div kendo-window="addArticleWindow" k-title="'新建图文'" k-width="850" k-min-height="400" k-visible="false" k-modal="true" style="overflow:hidden">
	     <div class="form-horizontal form-widgets" style="padding:10px">
	     <section style="height:270px;">
	     	<div class="col-sm-6" style="margin-top:30px;">
					<div class="form-horizontal col-sm-12">
			            <div class="form-group">
			                <label class="col-sm-3 control-label">文章标题</label>
			                <div class="col-sm-7">
			                	<input type="text" class="form-control padding_0" ng-model="article.title"/>
			                </div>
			            </div>
			        </div>	 
			        <div class="form-horizontal col-sm-12">
			            <div class="form-group">
			                <label class="col-sm-3 control-label">文章概述</label>
			                <div class="col-sm-7">
			                	<input type="text" class="form-control padding_0" ng-model="article.digest"/>
			                </div>
			            </div>
			        </div>
			        <div class="form-horizontal col-sm-12">
			            <div class="form-group">
			                <label class="col-sm-3 control-label">文章作者</label>
			                <div class="col-sm-7">
			                	<input type="text" class="form-control padding_0" ng-model="article.author"/>
			                </div>
			            </div>
			        </div>    	
			</div>
			<div class="col-sm-5">
			     <div class="col-sm-12">
			        <label class="control-label col-sm-11" style="text-align:center;">缩略图上传</label>
			        
			     </div>
			   	 <div class="col-sm-11">
			        <div class="col-sm-11">
		   	 			<div class="imgContainer1">
		                	<div class="imgBackground1">
		                		<span class="glyphicon glyphicon-plus"></span>
		                	</div>
		                	<div class="imgBackground2" id="logo2_img"></div>
		                	<input type="file" name="file" id="logo2"/>
		                	<input type="hidden" id="logo2_url"/>
	                	</div>
	   	 			</div>
			    </div>
			    <div class="col-sm-11 push">（【尺寸要求】高度:180px &nbsp; 宽度:180px &nbsp; 格式:jpg）</div>
			  </div>
	     </section>
		  <section class="well-lg" style="height:400px;">
		  		<textarea id="editor" style="width:750px;margin:auto;position: inherit;"></textarea>
		  </section>
	        	<button class="k-button k-state-default button_center " ng-click="addNewArticle()">保存</button>
     	</div>
     </div>
     
     <div kendo-window="linkUrlWindow" k-title="'链接地址'" k-width="700" k-min-height="70" k-visible="false" k-modal="true">
	    <div class="form-horizontal form-widgets col-sm-11">
		    <div class="form-group">
		        <label class="control-label col-sm-2">链接地址：</label>
		        <div class="col-sm-8">
		            <input ng-model="linkUrl" class="k-textbox"/>
		        </div>
		    </div>
	    </div>
    </div>
     

</div>

    

